projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f92e24
)
Dismiss popups on show
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 3 Feb 2012 11:49:08 +0000
(06:49 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 14 Feb 2012 21:36:54 +0000
(16:36 -0500)
This ensures that the editor always comes up without popups,
even when it is reused.
gtk/gtkcoloreditor.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcoloreditor.c
b/gtk/gtkcoloreditor.c
index 74d3cc57080a71eebf18004e647731d0e7ef3b3d..3bc7f0a52e4fe7756662265de71abff91b795c09 100644
(file)
--- a/
gtk/gtkcoloreditor.c
+++ b/
gtk/gtkcoloreditor.c
@@
-511,6
+511,8
@@
gtk_color_editor_init (GtkColorEditor *editor)
g_signal_connect (editor->priv->overlay, "get-child-position",
G_CALLBACK (get_child_position), editor);
+ g_signal_connect (editor, "notify::visible",
+ G_CALLBACK (dismiss_current_popup), NULL);
gtk_widget_show_all (editor->priv->overlay);